package com.weiwen.service.impl;

import java.util.HashMap;
import java.util.List;

import com.weiwen.dao.NewsDao;
import com.weiwen.domain.News;
import com.weiwen.service.NewsService;

public class NewsServiceImpl implements NewsService{
	private NewsDao newsDao;
	public List<News> getNewUpdateNews(HashMap params) {
		System.out.println(newsDao);
		return newsDao.getNewUpdateNews(params);
	}
	public NewsDao getNewsDao() {
		return newsDao;
	}
	public void setNewsDao(NewsDao newsDao) {
		this.newsDao = newsDao;
	}
	
}
